//HelloController.java
package demo.controller;


import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import demo.config.PrintlnLog;

@Slf4j
@RestController
@RequestMapping
public class HelloController {

    @PrintlnLog(description="HelloController")
    @RequestMapping("/hello")
    public String getHello(String name) 
    {
    	int cnt = 0;
		for(int i=0; i < 1e8; i++)
		{
			cnt++;
		}
    	System.out.println("looping done.");
    	return "hello springboot.";

    }
}
